#include "vx.h"
#include "power.h"

REPORTS reports={RPT_VERSION,0x0002,
	RPT_TICKLO,0,	RPT_TICKHI,0,
	RPT_OFFSETLO,0,	RPT_OFFSETHI,0,
	RPT_VOLTB,0,	RPT_VOLTC,0,	RPT_VOLTS,VOLT_A,
	RPT_TKCHGL,0,	RPT_TKCHGH,0,
	RPT_TCCHGC,0,	RPT_TCCHGV,0,
	RPT_STEPSLO,0,	RPT_STEPSHI,0,
	0,0,			0,0,
};

ushort ordBase=0x8800;

Jump *bootVect=(Jump*)0x08000000;
Jump *tagetBas=(Jump*)0x08008800;
Jump *vecTable=(Jump*)0x08000800;

//------------------------------------------------------------------------------

void initVecTable(void){
	NVIC_SetVectorTable(NVIC_VectTab_FLASH,0x0800);
}